package com.qidianit.mes.md.mapper;

import com.qidianit.mes.pojo.WorkShop;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author 奇幻夜之梦
 * @Company 起点编程
 * @Description
 * @Time 2024/10/24 19:42
 */
public interface WorkShopMapper {
    List<WorkShop> selectByPage(WorkShop workShop);

    int save(WorkShop workShop);

    int updateById(WorkShop workShop);

    WorkShop selectById(Long workShopId);

    int deleteById(Long workShopId);

    int updateWorkShopsByIds(@Param("ids")String[] ids, @Param("statu") int statu);

    List<WorkShop> listWorkShops();
}

